<?php
	require_once('auth.php');

?>

<html>
<head>
<script language="javascript">
location.replace("index.php")

</script>

<title>::.::.:: APPMA ::.::.::</title></head>
<body>
		 
		 
<?php
$con = mysql_connect("localhost","appma" ,"database");
		
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

	mysql_select_db("162_appma", $con);
$sql="INSERT INTO  uspw (
`user` ,
`pass` ,
`type`
)
VALUES
(
'$_POST[user]',
'$_POST[pass]',
'$_POST[type]'
)";

if (!mysql_query($sql,$con))
  {
  die('Error: ' . mysql_error());
  }
echo "1 record added";
mysql_close($con)

?>
</body>
  </html>                    
                 

